<template>
  <div v-show="bbox.isActive">
    <PanelButton name="删除" @click="bbox.deleteBbox" />
    <!-- <PanelToggle name="自动选择颜色" v-model="bbox.color.auto" />
    <PanelToggle
      v-show="bbox.color.auto"
      name="仅黑白"
      v-model="bbox.color.blackOrWhite"
    />
    <PanelInputString
      name="笔触颜色"
      v-model="bbox.polygon.pathOptions.strokeColor"
    /> -->
  </div>
</template>

<script>
import PanelButton from "@/components/PanelButton";
import PanelToggle from "@/components/PanelToggle";
import PanelInputString from "@/components/PanelInputString";
// import PanelInputNumber from "@/components/PanelInputNumber";

export default {
  name: "BBoxPanel",
  components: { PanelButton, PanelToggle, PanelInputString },
  props: {
    bbox: {
      type: Object,
      required: true,
    },
  },
};
</script>
